<div class="widgets">
    <div ba-panel ba-panel-title="店铺管理" ba-panel-class="with-scroll">
        <div style="position: absolute;right: 3%;top: 5px;"><button type="button" class="btn btn-info btn-raised" ng-click="xinzeng()">新增</button></div>
        <form class="row form-inline ng-pristine ng-valid ng-scope">
            <div class="col-lg-6 col-sm-12">
                <h5 style="line-height: 30px;" class="col-sm-3 col-xs-5">店铺名称：</h5>
                <div class="form-group  col-sm-6 col-xs-5">
                    <input type="text" class="form-control" id="exampleInputName2" placeholder="请输入店铺名称" maxlength="70" ng-model="list_data.name">
                </div>
                <button type="submit" class="btn btn-primary" ng-click="search_data()">搜索</button>

            </div>
        </form>
        <div class="col-lg-2">

        </div>

        <div style="min-height:300px;padding: 20px;">
            <table class="table table-bordered">
                <thead>
                    <tr valign="middle">
                        <th class="browser-icons"></th>
                        <th class=" text-center">名称</th>
                        <th class=" text-center">识别码</th>
                        <th class=" text-center">负责人</th>
                        <th class=" text-center">电话</th>
                        <th class=" text-center">地址</th>
                        <th class=" text-center">描述</th>
                        <th class=" text-center">创建日期</th>
                        <th class=" text-center" style=" width: 250px; ">操作</th>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-repeat="item in list_data_opt track by $index" style="line-height:70px ">
                        <td style=" width: 50px;" class=" text-center ">{{$index + 1}}</td>
                        <td class=" text-center" title="{{item.name}}">{{item.name|Intercept:20}}</td>
                        <td class="text-center" title="{{item.code}}">{{item.code}}</td>
                        <td class="text-center" title="{{item.leader}}">{{item.leader}}</td>
                        <td class="text-center" title="{{item.phone}}">{{item.phone}}</td>
                        <td class="text-center" title="{{item.address}}">{{item.address}}</td>
                        <td class="text-center" title="{{item.summary}}">{{item.summary|Intercept:50}}</td>
                        <td style="width: 150px;" class="text-center">{{item.createtime|date :'yyyy-MM-dd HH:mm'}}</td>
                        <td class=" text-center ">
                            <span class="iscursor" ng-click="edit(item)">编辑</span>
                            <span class="iscursor" ng-click="fn_delete(item.id)">删除</span>
                        </td>
                    </tr>
                </tbody>
            </table>
            <div class="text-center row " style="padding: 20px; ">
                <div class="col-sm-6 text-right">
                    <ul style=" margin: 0; " uib-pagination total-items="bigTotalItems " previous-text="上一页 " next-text="下一页 " first-text="首页 " last-text="尾页 " ng-model="bigCurrentPage" ng-change="pageChanged(bigCurrentPage) " max-size="5 " class="pagination-sm " num-pages="numPages "
                        items-per-page="list_data.limit"></ul>
                </div>
                <div class="col-sm-6 text-left"><label>
                     <select  style="height: 30px;font-weight: 300;" class="form-control" title="10" selectpicker ng-model="list_data.limit"  ng-change="search_data()"  ng-options="i for i in [5,10,20,50,100]">
                        </select>
                       
                    </label> /条（每页）</div>
            </div>
        </div>

    </div>
</div>